Accusoft.NotateXpress13.ActiveX
Configure Toolbars

The NotateXpress™ toolbar contains annotation tools, enabling the application end user to annotate the image.  An annotation is created by the application end user when a tool is selected in the toolbar and applied to the viewed image. 

Co-existing with the ImagXpress Toolbar

It is common to have NotateXpress' toolbar visible while ImagXpress' toolbar is also visible. If ImagXpress' toolbar is set to a tool other than the pointer (Tool_none), the NotateXpress toolbar tools will not activate.

Inform the user to set the ImagXpress tool to the pointer to be able to use the NotateXpress toolbar.

Configuring the NotateXpress Toolbar

Attributes of the NotateXpress toolbar and tools can be set globally to apply on all layers, or they can be set on a specific layer. For example, the text color on layer one could be set to blue so that all new text annotations produced on layer one are blue, and the text color on layer two could be set to red, resulting in red text on all new text annotations on layer two. 

 When a tool attribute is specified both globally and locally to a layer, the local (layer) value has precedence.
Global toolbar attributes apply to toolbars on all layers. These attributes cannot be changed independently by layer. These are set using the "Toolbar" properties (e.g. ToolbarActivated, ToolbarHeight, etc.).

Layer-specific toolbar attributes have independent values on each layer. These are set using the "Toolbar" methods (e.g. ToolbarGetEnabled, ToolbarSetVisible, etc.)

Setting Tool Attributes

Each tool within the toolbar has a set of associated attributes that define the characteristics of the annotations it creates when applied to the viewed image. These tool attributes can be specified globally or locally.

Not all tool attributes apply to each tool type. Setting an invalid attribute to a tool raises a trapping error. To avoid this, call IsValidToolAttribute to determine whether the attribute applies to the specified tool.  See AttributeMatrix for a summary of applicable attributes for each tool.

Specifying the Tool Defaults for Newly Created Layers

When a new layer is created, a toolbar is automatically added to the layer. This toolbar will have the attributes defined globally by the "Toolbar" properties. Tool attributes for the new layer's toolbar are specified using "Default" attributes: (e.g.  DefaultButtonText, DefaultPenWidth etc.). 

See Also

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback